<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>junglego: creature.cpp File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">junglego
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">creature.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;iostream&gt;</code><br/>
<code>#include &quot;<a class="el" href="creature_8hpp_source.html">creature.hpp</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="consumable_8hpp_source.html">consumable.hpp</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="brain_8hpp_source.html">brain.hpp</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="types_8hpp_source.html">types.hpp</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for creature.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="creature_8cpp__incl.png" border="0" usemap="#creature_8cpp" alt=""/></div>
<map name="creature_8cpp" id="creature_8cpp">
<area shape="rect" id="node5" href="creature_8hpp.html" title="creature.hpp" alt="" coords="857,80,951,107"/><area shape="rect" id="node9" href="types_8hpp.html" title="types.hpp" alt="" coords="989,304,1067,331"/><area shape="rect" id="node36" href="consumable_8hpp.html" title="consumable.hpp" alt="" coords="1096,80,1213,107"/><area shape="rect" id="node38" href="brain_8hpp.html" title="brain.hpp" alt="" coords="947,155,1021,181"/><area shape="rect" id="node7" href="object_8hpp.html" title="object.hpp" alt="" coords="789,155,872,181"/><area shape="rect" id="node11" href="gl_helper_8hpp.html" title="glHelper.hpp" alt="" coords="541,229,635,256"/></map>
</div>
</div>
<p><a href="creature_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a4b43aa3ae80463887e96cb6922783f3e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="creature_8cpp.html#a4b43aa3ae80463887e96cb6922783f3e">getCreatureMaxHealth</a> ()</td></tr>
<tr class="memitem:ab8ef0f19cdbd5e069f3facdf266b7503"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="creature_8cpp.html#ab8ef0f19cdbd5e069f3facdf266b7503">setCreatureMaxHealth</a> (int newVal)</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a68a6ab3894219205d7152dd4910405af"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="creature_8cpp.html#a68a6ab3894219205d7152dd4910405af">gCreatureMaxHealth</a></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a4b43aa3ae80463887e96cb6922783f3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="creature_8cpp.html#a4b43aa3ae80463887e96cb6922783f3e">getCreatureMaxHealth</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="creature_8cpp_source.html#l00071">71</a> of file <a class="el" href="creature_8cpp_source.html">creature.cpp</a>.</p>

<p>References <a class="el" href="creature_8cpp_source.html#l00015">gCreatureMaxHealth</a>.</p>

</div>
</div>
<a class="anchor" id="ab8ef0f19cdbd5e069f3facdf266b7503"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="creature_8cpp.html#ab8ef0f19cdbd5e069f3facdf266b7503">setCreatureMaxHealth</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>newVal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="creature_8cpp_source.html#l00075">75</a> of file <a class="el" href="creature_8cpp_source.html">creature.cpp</a>.</p>

<p>References <a class="el" href="creature_8cpp_source.html#l00015">gCreatureMaxHealth</a>.</p>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a68a6ab3894219205d7152dd4910405af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="creature_8cpp.html#a68a6ab3894219205d7152dd4910405af">gCreatureMaxHealth</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>*baseCreature *Ancestor of all creatures in JungleGo *Date: Sept 2011 </p>

<p>Definition at line <a class="el" href="creature_8cpp_source.html#l00015">15</a> of file <a class="el" href="creature_8cpp_source.html">creature.cpp</a>.</p>

<p>Referenced by <a class="el" href="creature_8cpp_source.html#l00021">Creature::eat()</a>, <a class="el" href="creature_8cpp_source.html#l00071">getCreatureMaxHealth()</a>, and <a class="el" href="creature_8cpp_source.html#l00075">setCreatureMaxHealth()</a>.</p>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 20 2012 21:57:14 for junglego by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
